package com.alphas.openapiinterface;


import com.alphas.openapiclientsdk.client.ApiClient;
import com.alphas.openapiclientsdk.model.User;

public class Main {
    public static void main(String[] args) {
        ApiClient apiClient = new ApiClient("Alphas","abcdefg");
        String result1 = apiClient.getNameByGet("张三");
        String result2 = apiClient.getNameByPost("李四");
        User user = new User();
        user.setName("王五");
        String result3 = apiClient.getNameByPostUser(user);
        System.out.println(result1);
        System.out.println(result2);
        System.out.println(result3);


    }
}
